GetPasswordQuestion Method

Syntax

Context.Security.GetPasswordQuestion as C ()

Context.Security.GetPasswordQuestion as C (UserName as C)

Arguments

UserNameCharacter

Optional. The user name for which the password question is to be retrieved. If no user name is used then the password question for the current user will be retrieved.

Returns

resultCharacter

Returns the password question, if any.

Description

Gets the password question of the specified user

Discussion

Context.Security.GetPasswordQuestion() gets the password question of the specified user, or when no user is specified, gets the password question of the current user. Check Context.Security.CallResult.Success before using the return value.